package com.yc.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
/*    id INT AUTO_INCREMENT PRIMARY KEY,
            title VARCHAR(255) NOT NULL,
            href VARCHAR(255),
            fontFamily VARCHAR(255),
            icon VARCHAR(255),
            spread BOOLEAN DEFAULT FALSE,
            isCheck BOOLEAN DEFAULT FALSE,
            parent_id INT,
            FOREIGN KEY (parent_id) REFERENCES Menu(id)*/
@Data
public class Menu implements Serializable {
    private Integer id;
    private String title;
    private String href;
    private String  fontfamily;
    private String icon;
    private String spread;
    private String ischeck;
    private Integer parent_id;
    private List<Menu> children;
}
